/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.crp.obey.model;

/**
 *
 * @author Jameel
 */
public class CompositionManager {
     private double commision;
     private CompositionEmp compEmp = new CompositionEmp();

    public double payment(CompositionEmp compEmp)
    {
        return commision = (0.15 * compEmp.getSales());
    }

    public double getPay() {
        return commision;
    }

    public void setPay(double pay) {
        this.commision = pay;
    }    
    
}
